package com.wanlian.router.bean;

/**
 * Created by Hyu on 2018/10/20.
 * Email: fvaryu@163.com
 */
public class UpTask {
    private long id;
    private String fileName;
    private String filePath;
    private long upLength; // 已上传
    private long length; // 文件大小
    private int fileType;

    public int getFileType() {
        return fileType;
    }

    public void setFileType(int fileType) {
        this.fileType = fileType;
    }

    public UpTask(long id, String fileName, String filePath, long upLength, long length, int fileType) {
        this.id = id;
        this.fileName = fileName;
        this.filePath = filePath;
        this.upLength = upLength;
        this.length = length;
        this.fileType = fileType;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public long getUpLength() {
        return upLength;
    }

    public void setUpLength(long upLength) {
        this.upLength = upLength;
    }

    public long getLength() {
        return length;
    }

    public void setLength(long length) {
        this.length = length;
    }
}
